//
// Created by Castle on 2025/10/27.
//

using namespace std;
#include <iostream>


int main() {
    int scores[10]{11,12,13,14,15,16,17,18,19,20};
    int * p_scores { scores };
    cout << "Values in scores array(p_score pointer increment) : " <<endl;
    cout << "Address: " << p_scores << "value: " << *(p_scores)<< endl;
    ++p_scores;

    cout << "Address: " << p_scores << "value : " << *(p_scores)<< endl;
    ++p_scores;

    cout << "Address: " << p_scores << "value : " << *(p_scores)<< endl;
    ++p_scores;

    cout << endl;
    cout << "Explicit addition of integer: " << endl;
    p_scores = scores;
    cout << "scores[4] : " << *(p_scores + 4) << endl;




    return 0;
}